﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="LogoEdit.aspx.cs" Inherits="Card.Manager.LogoEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Logo编辑</title>
    <link href="Css/Style.css" rel="Stylesheet" type="text/css" />
    <link href="Css/ui-lightness/jquery-ui-1.9.2.custom.min.css"rel="Stylesheet" type="text/css" />
    <script src="JavaScript/jquery-1.8.3.min.js" type="text/javascript"></script>
    <script src="JavaScript/jquery-ui-1.9.2.custom.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    function upload_sucess(photo) {
         window.location = "LogoEdit.aspx?img=" + escape(photo);
    }
    
    function modifyImage() {

            var url = "Upload.aspx?uit=l&id=<%=this.LogoID %>&n="+escape($("#txtName").val())+"&lt="+$("#dropType").val();
            
            window.open(url, "Upload", "width=400px,height=200px,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no");
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <table class="TB">
        <tr>
            <td class="TD_Input_Text">
                名称：
            </td>
            <td class="TD_Input">
                <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
            </td>
            <td class="TD_Input_Text">
                类型：
            </td>
            <td class="TD_Input">
                <asp:DropDownList ID="dropType" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="TD_Input_Text">
                LOGO[<a href="javascript:void(0);modifyImage();">修改</a>]：
            </td>
            <td class="TD_Input" colspan="3">
                <asp:Image ID="logo" runat="server" Style="border: 0px;" />
            </td>
        </tr>
        <tr>
            <td class="TD_Input" colspan="4" align="center">
                <asp:Button ID="btnSave" Text="保存" runat="server" OnClick="btnSave_Click" />
                <input value="返回" type="button" onclick="javascript:window.location='LogoManager.aspx'" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
